package com.bmft.signIn;

import com.bmft.utils.mail.MailUtilImpl;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import javax.mail.MessagingException;

/**
 * @Author Jarvan
 * @create 2020/9/7 18:51
 */
@SpringBootTest
public class MailTest04 {
    @Autowired
    MailUtilImpl mailUtil;

    @Test
    public void test() throws MessagingException {
        mailUtil.sendAttachmentsMail("2530196154@qq.com", "【微重邮打卡】打卡失败通知", "<h1>打卡失败</h1><h1>student</h1>", null);

    }
}
